package com.learn.excel.hawkeye.modules.sys.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 文件表
 * </p>
 *
 * @author zxy
 * @since 2022-09-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "sys_file")
//@TableName(value = "sys_file",autoResultMap = true)
@ApiModel(value="SysFile对象", description="文件表")
public class SysFile implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "文件内容")
//    @TableField(typeHandler = JacksonTypeHandler.class)
    private String fileContent;


}
